package net.lensfrex.dscape.domain.user;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum UserRole {
    ADMIN(1, "admin"), NORMAL_USER(0, "normal");

    @EnumValue
    private final int role;

    private final String desc;

    UserRole(int role, String desc) {
        this.role = role;
        this.desc = desc;
    }
}
